package zju.xmsx.acm.search.back.dto;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

@Data
public class UpdateContent {
    private String index;       // 索引
    private String id;          // 文档id
    private JSONObject content; // 更新内容

    public  UpdateContent(){
        index = null;
        id = null;
        content = null;
    }

    public UpdateContent(String index, String id, JSONObject content){
        this.index = index;
        this.id = id;
        this.content = content;
    }
}
